<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <title>
jobqueue.pl</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <link rel="stylesheet" title="style" type="text/css" href="./../../../style.css" media="all" >

</head>
  <body id="pod">
<p class="backlinktop"><b><a name="___top" href="index.html" accesskey="1" title="All Documents">&lt;&lt;</a></b></p>
<h1>jobqueue.pl</h1>
<div class='indexgroup'>
<ul   class='indexList indexList1'>
  <li class='indexItem indexItem1'><a href='#NAME'>NAME</a>
  <li class='indexItem indexItem1'><a href='#SYNOPSIS'>SYNOPSIS</a>
  <li class='indexItem indexItem1'><a href='#DESCRIPTION'>DESCRIPTION</a>
  <li class='indexItem indexItem1'><a href='#Running_jobqueue.pl_as_a_System_Service'>Running jobqueue.pl as a System Service</a>
</ul>
</div>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="NAME"
>NAME</a></h1>

<p>jobqueue.pl - Runs jobs in the background for Bugzilla.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="SYNOPSIS"
>SYNOPSIS</a></h1>

<pre  class="code"> ./jobqueue.pl [OPTIONS] COMMAND

   OPTIONS:
   -f        Run in the foreground (don&#39;t detach)
   -d        Output a lot of debugging information
   -p file   Specify the file where jobqueue.pl should store its current
             process id. Defaults to F&#60;data/jobqueue.pl.pid&#62;.
   -n name   What should this process call itself in the system log?
             Defaults to the full path you used to invoke the script.

   COMMANDS:
   start     Starts a new jobqueue daemon if there isn&#39;t one running already
   stop      Stops a running jobqueue daemon
   restart   Stops a running jobqueue if one is running, and then
             starts a new one.
   check     Report the current status of the daemon.
   install   On some *nix systems, this automatically installs and
             configures jobqueue.pl as a system service so that it will
             start every time the machine boots.
   uninstall Removes the system service for jobqueue.pl.
   help      Display this usage info
   version   Display the version of jobqueue.pl</pre>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="DESCRIPTION"
>DESCRIPTION</a></h1>

<p>See <a href="./Bugzilla/JobQueue.html" class="podlinkpod"
>Bugzilla::JobQueue</a> and <a href="./Bugzilla/JobQueue/Runner.html" class="podlinkpod"
>Bugzilla::JobQueue::Runner</a>.</p>

<h1><a class='u' href='#___top' title='click to go to top of document'
name="Running_jobqueue.pl_as_a_System_Service"
>Running jobqueue.pl as a System Service</a></h1>

<p>For systems that use Upstart or SysV Init, there is a SysV/Upstart init script included with Bugzilla for jobqueue.pl: <em  class="code">contrib/bugzilla-queue</em>. It should work out-of-the-box on RHEL, Fedora, CentOS etc.</p>

<p>You can install it by doing <code  class="code">./jobqueue.pl install</code> as root, after already having run <a href="./checksetup.html" class="podlinkpod"
>checksetup</a> at least once to completion on this Bugzilla installation.</p>

<p>If you are using a system that isn&#39;t RHEL, Fedora, CentOS, etc., then you may have to modify <em  class="code">contrib/bugzilla-queue</em> and install it yourself manually in order to get <code  class="code">jobqueue.pl</code> running as a system service.</p>
<p class="backlinkbottom"><b><a name="___bottom" href="index.html" title="All Documents">&lt;&lt;</a></b></p>

<!-- end doc -->

</body></html>
